{"version":3,"sources":["image-field.js"],"names":["BX","Reflection","namespace","Grid","ImageField","parent","options","this","cache","Cache","MemoryCache","prototype","getPreview","remember","create","props","className","attrs","src","VALUE","bind","getFileInput","type","accept","name","NAME","events","change","event","reader","FileReader","onload","currentTarget","result","readAsDataURL","target","files","Dom","remove","getFakeField","append","getLayout","removeClass","getRemoveButton","style","getUploadButton","text","getParam","click","preventDefault","addClass","opacity","value","children"],"mappings":"CAAC,WACA,aAEAA,GAAGC,WAAWC,UAAU,WAExBF,GAAGG,KAAKC,WAAa,SAASC,EAAQC,GACrCC,KAAKF,OAASA,EACdE,KAAKD,QAAUA,EACfC,KAAKC,MAAQ,IAAIR,GAAGS,MAAMC,aAG3BV,GAAGG,KAAKC,WAAWO,WAClBC,WAAY,WAEX,OAAOL,KAAKC,MAAMK,SAAS,UAAW,WACrC,OAAOb,GAAGc,OAAO,OAChBC,OACCC,UAAW,kCAEZC,OACCC,IAAKX,KAAKD,QAAQa,UAGnBC,KAAKb,QAGRc,aAAc,WAEb,OAAOd,KAAKC,MAAMK,SAAS,YAAa,WACvC,OAAOb,GAAGc,OAAO,SAChBC,OACCC,UAAW,qCAEZC,OACCK,KAAM,OACNC,OAAQ,UACRC,KAAMjB,KAAKD,QAAQmB,MAEpBC,QACCC,OAAQ,SAASC,GAChB,IAAIC,EAAS,IAAIC,WACjBD,EAAOE,OAAS,SAASH,GACxBrB,KAAKK,aAAaM,IAAMU,EAAMI,cAAcC,QAC3Cb,KAAKb,MAEPsB,EAAOK,cAAcN,EAAMO,OAAOC,MAAM,IAExCpC,GAAGqC,IAAIC,OAAO/B,KAAKgC,gBACnBvC,GAAGqC,IAAIG,OAAOjC,KAAKc,eAAgBd,KAAKkC,aACxCzC,GAAGqC,IAAIK,YAAYnC,KAAKoC,kBAAmB,mBAC3C3C,GAAGqC,IAAIO,MAAMrC,KAAKK,aAAc,OAC/BQ,KAAKb,UAGRa,KAAKb,QAGRsC,gBAAiB,WAEhB,OAAOtC,KAAKC,MAA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